﻿//$Id$

using System;
using System.Text;
using System.Collections.Generic;
using System.Linq;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using zielonka.co.uk.extensions.system;

namespace zielonka.co.uk.extensions.tests.system.int_
{
    [TestClass]
    public class SizeInBytesTests
    {
        [TestMethod]
        public void IsValid2MegaBytes()
        {
            int expected = 2097152;
            int actual = 2.Mb(); 
            Assert.AreEqual(expected,actual);
        }

        [TestMethod]
        public void IsValid64KilloBytes()
        {
            int expected = 65536;
            int actual = 64.Kb();
            Assert.AreEqual(expected, actual);
        }
    }
}
